/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package propertychangestest;

import com.andromeda.saturno.property.Property;
import javax.swing.JFrame;

/**
 *
 * @author Dickinson Román Arismendy Torres
 */
public class PropertyChangesTest {

    private JFrame frame;

    public PropertyChangesTest() {

        Property<String> property = new Property<String>("Hola mundo!");

        frame = new JFrame("nya");
        TextPropertyView view = new TextPropertyView();
        view.setProperty(property);
        frame.add(view);
        frame.pack();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        new PropertyChangesTest();


    }
}
